********************************
Compiling mdAddrJavaWrapper.cpp
********************************

You may need to recompile mdAddrJavaWrapper.cpp if you are not using a version of Java that is compatible with
the mdAddrJavaWrapper.dll that is supplied. 

Prerequisites:
	
	Visual C++ Compiler
	Java JDK (tested with JDK 1.6)


To compile mdAddrJavaWrapper.cpp for 32-bit a bat file has been supplied. This bat file requires the Visual Studio C++ 
compiler. To use the compiler, you must set up its environment by executing vcvars32.bat in the Visual Studio
C++ bin folder. Read the comments at the top of CreateDll.bat for more details.

To compile mdAddrJavaWrapper.cpp for 64-bit machine you must use Visual Studio Command Prompt x64 and execute CreateDLL.bat. You have to edit CreateDLL 
file before executing it. TO edit read comments at the top of CreateDll.bat for more details.

You must then set the path to the Java Include and Library path. You also need to set the path of the Email Object
library (mdAddr.dll). The default locations of these files have been set already for 32-bit but may require changes if your system is different.
* 64bit version available in C:\Program Files\Melissa DATA\DQT\AddrObj\dll_64bit

set JavaIncludeDirectory1 to the JDK\include directory
Set JavaIncludeDirectory2 to the JDK\include\win32 directory
set AddrLibraryPath to the directory containing mdAddr.dll


Now, you can run CreateDll.bat to create mdAddrJavaWrapper.dll.

